﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tasks.Common.Entitys
{
    /// <summary>
    /// 联系方式基类
    /// </summary>
    public class BaseContactInfo
    {
        /// <summary>
        /// 联系人
        /// </summary>
        public string UserName { get; set; }
        public string MobileNo2 { get; set; }
        public string Fax { get; set; }
        public string Tel { get; set; }

        #region MobileNo

        private String m_mobileNo;

        /// <summary>Gets or sets MobileNo</summary>
        public String MobileNo
        {
            get { return m_mobileNo; }
            set { m_mobileNo = value; }
        }

        #endregion

        #region EMail

        private String m_eMail;

        /// <summary>Gets or sets EMail</summary>
        public String EMail
        {
            get { return m_eMail; }
            set { m_eMail = value; }
        }

        #endregion

        #region Address

        private string m_address;

        /// <summary>Gets or sets Address</summary>
        public string Address
        {
            get { return m_address; }
            set { m_address = value; }
        }

        #endregion

        #region PostalCode

        private String m_postalCode;

        /// <summary>Gets or sets PostalCode</summary>
        public String PostalCode
        {
            get { return m_postalCode; }
            set { m_postalCode = value; }
        }

        #endregion

        public string Linkman { get; set; }
        public string LinkmanMobileNo { get; set; }
        public string LinkmanTel { get; set; }
        public string LinkmanFax { get; set; }
        public string LinkmanAddress { get; set; }
        public string LinkmanEmail { get; set; }
        public string LinkmanIM { get; set; }

        #region ProvinceID

        private Int32 m_provinceID;

        /// <summary>Gets or sets ProvinceID</summary>
        public Int32 ProvinceID
        {
            get { return m_provinceID; }
            set { m_provinceID = value; }
        }

        #endregion

        #region CityID

        private Int32 m_cityID;

        /// <summary>Gets or sets CityID</summary>
        public Int32 CityID
        {
            get { return m_cityID; }
            set { m_cityID = value; }
        }

        #endregion

        #region AreaID

        private Int32 m_areaID;

        /// <summary>Gets or sets AreaID</summary>
        public Int32 AreaID
        {
            get { return m_areaID; }
            set { m_areaID = value; }
        }

        #endregion

        /// <summary>
        /// 省市区的中文名称
        /// </summary>
        public string Position { get; set; }
    }
}
